package com.rms.mapper;

import com.rms.entity.Board;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @author 胡满意
 * @date 2019/10/28
 */
@Mapper
public interface BoardMapper {
    List<Board> selectAllBoard();
    int insertBoard(String boardName);
    int deleteBoard(int boardId);
    int unsubscribeBoard(int boardId);
    int orderBoard(@Param("boardId") int boardId,@Param("boardTime") Date boardTime);
}
